Solving Equation Using Logs